/**
 * 工具类索引
 * 提供统一导入所有工具类的入口点
 */

// 
// 核心工具类
// =====================================================
export { default as ApiResponseUtil } from './api/api-response.util';
export { default as ExcelUtil } from './excel/excel.util';
export { default as FileUtil } from './file/file.util';
export { default as JwtUtil, UserInfo as JwtUserInfo } from './security/jwt.util';
export { default as SecurityUtil } from './security/security.util';

// 
// JavaScript工具类
// =====================================================
export { default as DateUtil } from './javaScript/date.util';
export { default as NumberUtil } from './javaScript/number.util';
export { default as ObjectUtil } from './javaScript/object.util';
export { default as StringUtil } from './javaScript/string.util';

// 
// 数据库工具类
// =====================================================
export { checkDatabaseConnection, closeDatabase, startPeriodicDatabaseCheck } from './db/db-check';
export { default as dbMonitor } from './db/db-monitor';
export { default as initDatabase } from './db/db-init';
export { default as dbUtils } from './db';

// 
// 缓存工具类
// =====================================================
export { default as cacheFallback } from './cache/cache-fallback';
export { default as cacheManager } from './cache/cache-manager';
export { default as cachePreloader } from './cache/cache-preloader';
export { default as cacheUtils } from './cache/cache.util';
export { default as CacheUtil } from './cache';

//
// 日志和监控工具类
// =====================================================
export { default as IpUtil } from './ip/ip.util';
export { default as LoggerUtil } from './logger';

//
// 异步和任务工具类
// =====================================================
export { default as AsyncFactory } from './async/AsyncFactory';
export { default as AsyncManager } from './async/AsyncManager';
export { default as CronUtil } from './job/cron.util';
export { default as SchedulerUtil } from './job/scheduler.util';

//
// 浏览器和客户端工具类
// =====================================================
export { default as BrowserUtil } from './browser/user-agent.util';

//
// 其他工具类
// =====================================================
export { default as CaptchaUtil } from './captcha.util';
export * as ErrorUtil from './errors/index';
export { createController } from './router/route.controller';

// 导入工具类，用于默认导出
import ApiResponseUtil from './api/api-response.util';
import ExcelUtil from './excel/excel.util';
import FileUtil from './file/file.util';
import JwtUtil from './security/jwt.util';
import SecurityUtil from './security/security.util';

import DateUtil from './javaScript/date.util';
import NumberUtil from './javaScript/number.util';
import ObjectUtil from './javaScript/object.util';
import StringUtil from './javaScript/string.util';

import * as DbCheck from './db/db-check';
import dbMonitor from './db/db-monitor';
import initDatabase from './db/db-init';
import dbUtils from './db';

import cacheFallback from './cache/cache-fallback';
import cacheManager from './cache/cache-manager';
import cachePreloader from './cache/cache-preloader';
import cacheUtils from './cache/cache.util';
import CacheUtil from './cache';

import IpUtil from './ip/ip.util';
import LoggerUtil from './logger';

import AsyncFactory from './async/AsyncFactory';
import AsyncManager from './async/AsyncManager';
import CronUtil from './job/cron.util';
import SchedulerUtil from './job/scheduler.util';

import BrowserUtil from './browser/user-agent.util';

import CaptchaUtil from './captcha.util';
import * as ErrorUtil from './errors/index';
import { createController } from './router/route.controller';

// 默认导出所有工具类（分类组织）
export default {
  // 核心工具类
  ApiResponseUtil,
  ExcelUtil,
  FileUtil,
  JwtUtil,
  SecurityUtil,
  
  // JavaScript工具类
  DateUtil,
  NumberUtil,
  ObjectUtil,
  StringUtil,
  
  // 数据库工具类
  ...DbCheck,
  dbMonitor,
  initDatabase,
  dbUtils,
  
  // 缓存工具类
  cacheFallback,
  cacheManager,
  cachePreloader,
  cacheUtils,
  CacheUtil,
  
  // 日志和监控工具类
  IpUtil,
  LoggerUtil,
  
  // 异步和任务工具类
  AsyncFactory,
  AsyncManager,
  CronUtil,
  SchedulerUtil,
  
  // 浏览器和客户端工具类
  BrowserUtil,
  
  // 其他工具类
  CaptchaUtil,
  ErrorUtil,
  createController
};




 